package cn.edu.zjx2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("class")
public class Class {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String className;
    private Long gradeId;
    @TableField(exist = false)
    private String gradeName;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
} 